#include <Windows.h>
#include <cstdio>

int main()
{
	const WCHAR* event_mod_name = L"D:\\Program_Projects\\synchevent\\Debug\\synchevent.dll";
	HMODULE syn_event_mod = LoadLibrary(event_mod_name);
	if (syn_event_mod == NULL)
	{
		printf("Load synch event library error,code:%d\n", GetLastError());
		return 1;
	}
	while(true)
	{
		int c = getchar();
		if (c == -1)
		{
			printf("End of input,break\n");
			break;
		}
		putchar(c);
	}
	return 0;
}